home *** CD-ROM | disk | FTP | other *** search
- /* Definitions and declarations for using _CronEvent.o */
-
- extern long CronEvent();
-
- /* Command types */
-
- #define ADDEVENT 1 /* Add an event */
- #define DELEVENT 2 /* Delete an event */
- #define LISTEVENTS 3 /* List the dynamic events */
- #define CRONEXIT 4 /* Shut down TPTCron */
- #define WHENEVENT 5 /* Check the time for an event */
- #define READFILE 6 /* Read a CronTab file */
- #define TABLIST 7 /* List the CronTab events */
-
- /* Codes returned by CronEvent() */
-
- #define CNOERR 0L /* Command was successful */
- #define OUTOFMEM -1L /* Error allocating memory */
- #define BADSYNTAX -2L /* Invalid command type */
- #define NOCRON -3L /* TPTCron is not active */
- #define TABNOTFOUND -4L /* CronTab file not found */
- #define NOEVENTS -5L /* There are no events present */
-